projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efee686
)
(Fmake_category_set): Use XSETFASTINT.
author
Karl Heuer
<kwzh@gnu.org>
Thu, 10 Apr 1997 22:12:04 +0000
(22:12 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 10 Apr 1997 22:12:04 +0000
(22:12 +0000)
src/category.c
patch
|
blob
|
history
diff --git
a/src/category.c
b/src/category.c
index cd87abd5637acbcc2a778814a4367fe0f7357842..b644448b486b35e136c01a008c9cb000ab4f816c 100644
(file)
--- a/
src/category.c
+++ b/
src/category.c
@@
-67,8
+67,9
@@
CATEGORIES is a string of category mnemonics.")
len = XSTRING (categories)->size;
while (--len >= 0)
{
- Lisp_Object category
= make_number (XSTRING (categories)->data[len])
;
+ Lisp_Object category;
+ XSETFASTINT (category, XSTRING (categories)->data[len]);
CHECK_CATEGORY (category, 0);
SET_CATEGORY_SET (val, category, Qt);
}